<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta name="Generator" content="ECSHOP v2.7.3">
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta name="Keywords" content="">
<meta name="Description" content="">
<title>购物车</title>
<link rel="icon" href="file/images/logo.png" type="image/gif">
<link href="file/css/style.css" rel="stylesheet" type="text/css">
</head>
<body>
<script type="text/javascript">
var process_request = "正在处理您的请求...";
var btn_buy = "购买";
var is_cancel = "取消";
var select_spe = "请选择商品属性";
</script>
<div class="block clearfix">
  <div class="logo fl"><a href="#"><img src="file/images/logo.gif" alt="购物流程_ECSHOP演示站 - Powered by ECShop"></a></div>
  <div class="topright fr">
   <ul>
      <li class="topnav tr"> <font id="ECS_MEMBERZONE">您好，欢迎光临本店！ <acronym class="reg">&nbsp;</acronym>
        <?php
	  if(isset($_SESSION['UId'])){
	  ?>
        <a href="#"><?php echo $_SESSION['UName']; ?></a>
        <a href="index.php?con=User&act=loginout">退出登录</a>
        <?php 
	  }
	 else{
	?>
        <a href="index.php?con=Index&act=login">登录</a> <acronym class="reg">&nbsp;</acronym> <a href="index.php?con=Index&act=register">免费注册</a>
        <?php
		}
	  ?>
        </font> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <a href="index.php?con=Shopping&act=getShopping">查看购物车</a> | <a href="#">选购中心</a> | <a href="#">标签云</a> | <a href="#">报价单</a> </li>
      <li class="searchbox">
        <form id="searchForm" name="searchForm" method="get" action="search.php" onsubmit="return checkSearchForm()">
          <input name="keywords" id="keyword" class="keybg" onfocus="myonfocus();" onblur="myonblur();" type="text">
          <input name="imageField" value="" class="bnt_scarch" type="submit">
          <a href="#"><img src="file/images/advanced.gif"></a><br>
        </form>
      </li>
    </ul>
  </div>
  
</div>
<div class="block pagenavbox blank">
  <div class="nav fl">
    <ul class="clearfix">
        <li class="curs"> <span class="l"></span><span class="r"></span><a href="index.php?con=Index&act=run">首页</a></li>
      <li><a href="#">产品咨询</a></li>
      <li><a href="#">拍卖活动</a></li>
      <li><a href="#">积分商城</a></li>
      <li><a href="#">留言板</a></li>
      <li><a href="#">加入论坛</a></li>
    </ul>
  </div>
  <div class="cart clearfix fr">
    <ul>
      <li class="w180">
        <div id="ECS_CARTINFO" class="none"> <a href="#" title="查看购物车">您的购物车中有 1 件商品，总计金额 ￥385.00元。</a> </div>
        购物车有 <font id="a1">1</font> 件商品 </li>
      <li class="w90"><a href="#">去结算</a></li>
    </ul>
    <script type="text/javascript">cart();</script>
  </div>
</div>
<div class="ur_here blank"> <span class="l"></span><span class="r"></span> 当前位置: <a href="#">首页</a> <code>&gt;</code> 购物流程</div>
<div class="block">
  
  <div class="goodsTitle">商品列表</div>
  <form id="formCart" name="formCart" method="post" action="#">
    <table align="center" bgcolor="#e3e3e3" border="0" cellpadding="5" cellspacing="1" width="100%">
      <tbody>
        <tr>
          <th bgcolor="#ffffff">商品名称</th>
          <th bgcolor="#ffffff">属性</th>
          <th bgcolor="#ffffff">市场价</th>
          <th bgcolor="#ffffff">本店价</th>
          <th bgcolor="#ffffff">购买数量</th>
          <th bgcolor="#ffffff">小计</th>
          <th bgcolor="#ffffff">操作</th>
        </tr>
          <?php
          if(isset($cartInfo)){
              foreach( $cartInfo as $key=>$value ){
                  ?>
           <tr>
          <td align="center" bgcolor="#ffffff"><a href="index.php?con=Product&act=getDetail&PId=<?php echo $value['PId'] ?>&BCat=<?php echo $value['BCat'];?>&SCat=<?php echo $value['SCat']; ?>" target="_blank"><img src="file/uploads/goods_img/<?php echo $value['PicGoods']; ?>" title="<?php echo $value['PName']; ?>" border="0"></a><br>
            <a href="index.php?con=Product&act=getDetail&PId=<?php echo $value['PId'] ?>&BCat=<?php echo $value['BCat'];?>&SCat=<?php echo $value['SCat']; ?>" target="_blank"><?php echo $value['PName']; ?></a> </td>
          <td bgcolor="#ffffff">颜色:黑色 <br>
          </td>
          <td align="right" bgcolor="#ffffff">￥478.79元</td>
          <td class="price" align="right" bgcolor="#ffffff"><?php echo $value['Price']; ?>元</td>
          <td align="right" bgcolor="#ffffff"><input name="number" id="goods_number_44" value="1" size="4" class="InputBorder"  type="text">
          </td>
          <td class="price" align="right" bgcolor="#ffffff"><?php echo $value['Price'] ?>元</td>
          <td align="center" bgcolor="#ffffff"><acronym class="delete"></acronym><a href="index.php?con=Shopping&act=removeShopping&PId=<?php echo $value['PId'];?>"><u class="b">删除</u></a>&nbsp;&nbsp; </td>
        </tr>
          <?php
              }
          }
          else{
              ?>
              <div class="imgbox"><a href="goods.php?id=32" style="  color: red">暂无产品</a></div>
              <?php 
          }
          ?>
       
        <tr> </tr>
      </tbody>
    </table>
    <table align="center" bgcolor="#f9f9f9" border="0" cellpadding="5" cellspacing="0" width="100%">
      <tbody>
        <tr>
          <td class="f1 f14b"> <!-- 购物金额小计 ￥385.00元，比市场价 ￥478.79元 节省了 ￥93.79元 (20%) --></td>
          <td align="right"><input value="清空购物车" class="bnt_number6" onclick="location.href='flow.php?step=clear'" type="button">
            <input name="submit" class="bnt_number6" value="更新购物车" type="submit">
          </td>
        </tr>
      </tbody>
    </table>
    <input name="step" value="update_cart" type="hidden">
  </form>
  <table class="floatTable" align="center" border="0" cellpadding="5" cellspacing="0" width="99%">
    <tbody>
      <tr>
        <td><a href="#"><img src="file/images/continue.gif"></a></td>
        <td align="right"><a href="#"><img src="file/images/checkout.gif"></a></td>
      </tr>
    </tbody>
  </table>
</div>
<div class="block blank">
  <div class="mod1 mod2" id="helpbox"> <span class="lt"></span><span class="lb"></span><span class="rt"></span><span class="rb"></span>
    <div class="helpbox">
      <div class="goodsbox">
        <div class="helpTit">新手上路 </div>
        <div class="helpList tl"> ·<a href="#" title="售后流程">售后流程</a><br>
          ·<a href="#" title="购物流程">购物流程</a><br>
          ·<a href="#" title="订购方式">订购方式</a><br>
        </div>
      </div>
      <div class="goodsbox">
        <div class="helpTit">手机常识 </div>
        <div class="helpList tl"> ·<a href="#" title="如何分辨原装电池">如何分辨原装电池</a><br>
          ·<a href="#" title="如何分辨水货手机 ">如何分辨水货手机</a><br>
          ·<a href="#" title="如何享受全国联保">如何享受全国联保</a><br>
        </div>
      </div>
      <div class="goodsbox">
        <div class="helpTit">配送与支付 </div>
        <div class="helpList tl"> ·<a href="#" title="货到付款区域">货到付款区域</a><br>
          ·<a href="#" title="配送支付智能查询 ">配送支付智能查询</a><br>
          ·<a href="#" title="支付方式说明">支付方式说明</a><br>
        </div>
      </div>
      <div class="goodsbox">
        <div class="helpTit">会员中心</div>
        <div class="helpList tl"> ·<a href="#" title="资金管理">资金管理</a><br>
          ·<a href="#" title="我的收藏">我的收藏</a><br>
          ·<a href="#" title="我的订单">我的订单</a><br>
        </div>
      </div>
      <div class="goodsbox">
        <div class="helpTit">服务保证 </div>
        <div class="helpList tl"> ·<a href="#" title="退换货原则">退换货原则</a><br>
          ·<a href="#" title="售后服务保证 ">售后服务保证</a><br>
          ·<a href="#" title="产品质量保证 ">产品质量保证</a><br>
        </div>
      </div>
      <div class="goodsbox">
        <div class="helpTit">联系我们 </div>
        <div class="helpList tl"> ·<a href="#" title="网站故障报告">网站故障报告</a><br>
          ·<a href="#" title="选机咨询 ">选机咨询</a><br>
          ·<a href="#" title="投诉与建议 ">投诉与建议</a><br>
        </div>
      </div>
    </div>
  </div>
  <script type="text/javascript">divheight("helpbox");</script>
</div>
<div class="block tc" style="margin-bottom:20px;"> <a href="#">免责条款</a> | <a href="#">隐私保护</a> | <a href="#">咨询热点</a> | <a href="#">联系我们</a> | <a href="#">公司简介</a> | <a href="#">批发方案</a> | <a href="#">配送方式</a> <br>
  © 2005-2012 ECSHOP 版权所有，并保留所有权利。<br>
  <br>
  共执行 35 个查询，用时 0.083367 秒，在线 1 人，Gzip 已禁用，占用内存 4.531 MB<img src="file/images/cron.htm" alt="" style="width: 0px; height: 0px;"><br>
  <a href="#" style="font-family: Verdana; font-size: 11px;">Powered&nbsp;by&nbsp;<strong><span style="color: #3366FF">ECShop</span>&nbsp;<span style="color: #FF9966">v2.7.3</span></strong></a>&nbsp; <a href="#" target="_blank">&nbsp;&nbsp;Licensed</a><br>
  <div class="tc" id="rss"><a href=""><img src="file/images/xml_rss2.gif" alt="rss"></a></div>
</div>
<script type="text/javascript">
var process_request = "正在处理您的请求...";
var username_empty = "- 用户名不能为空。";
var username_shorter = "- 用户名长度不能少于 3 个字符。";
var username_invalid = "- 用户名只能是由字母数字以及下划线组成。";
var password_empty = "- 登录密码不能为空。";
var password_shorter = "- 登录密码不能少于 6 个字符。";
var confirm_password_invalid = "- 两次输入密码不一致";
var email_empty = "- Email 为空";
var email_invalid = "- Email 不是合法的地址";
var agreement = "- 您没有接受协议";
var msn_invalid = "- msn地址不是一个有效的邮件地址";
var qq_invalid = "- QQ号码不是一个有效的号码";
var home_phone_invalid = "- 家庭电话不是一个有效号码";
var office_phone_invalid = "- 办公电话不是一个有效号码";
var mobile_phone_invalid = "- 手机号码不是一个有效号码";
var msg_un_blank = "* 用户名不能为空";
var msg_un_length = "* 用户名最长不得超过7个汉字";
var msg_un_format = "* 用户名含有非法字符";
var msg_un_registered = "* 用户名已经存在,请重新输入";
var msg_can_rg = "* 可以注册";
var msg_email_blank = "* 邮件地址不能为空";
var msg_email_registered = "* 邮箱已存在,请重新输入";
var msg_email_format = "* 邮件地址不合法";
var msg_blank = "不能为空";
var no_select_question = "- 您没有完成密码提示问题的操作";
var passwd_balnk = "- 密码中不能包含空格";
var username_exist = "用户名 %s 已经存在";
var compare_no_goods = "您没有选定任何需要比较的商品或者比较的商品数少于 2 个。";
var btn_buy = "购买";
var is_cancel = "取消";
var select_spe = "请选择商品属性";
</script>
</body>
</html>
